import { HashRouter, Routes, Route} from 'react-router-dom'
import Login from "../views/login";
import Home from "../views/home";
import Test from "../views/test";
import NotFound from "../views/404";

const Router = () => {
  return (
    <HashRouter>
      <Routes>
        <Route path="/login" element={<Login />} />
        <Route path="/" element={<Home />}>
          <Route path="test" element={<Test />} />
        </Route>
        <Route path="*" element={<NotFound />} />
      </Routes>
    </HashRouter>
  )
}

export default Router